package top.yueyazhui.vhr.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel(value = "资源元实体类", description = "资源元信息描述类")
public class Meta implements Serializable {

    @ApiModelProperty(value = "图标")
    private String iconCls;
    @ApiModelProperty(value = "是否保活")
    private Boolean keepAlive;
    @ApiModelProperty(value = "是否需要认证")
    private Boolean requireAuth;

    @Override
    public String toString() {
        return "Meta{" +
                "iconCls='" + iconCls + '\'' +
                ", keepAlive=" + keepAlive +
                ", requireAuth=" + requireAuth +
                '}';
    }

    public Meta() {
    }

    public Meta(String iconCls, Boolean keepAlive, Boolean requireAuth) {
        this.iconCls = iconCls;
        this.keepAlive = keepAlive;
        this.requireAuth = requireAuth;
    }

    public String getIconCls() {
        return iconCls;
    }

    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }

    public Boolean getKeepAlive() {
        return keepAlive;
    }

    public void setKeepAlive(Boolean keepAlive) {
        this.keepAlive = keepAlive;
    }

    public Boolean getRequireAuth() {
        return requireAuth;
    }

    public void setRequireAuth(Boolean requireAuth) {
        this.requireAuth = requireAuth;
    }
}
